
/*公用*/
html{
  width: 100%;
  /*1rem=100px*/
  font-size: 24vw;
}
.background{
  background-size: cover;
  background-position: center center;
}
.text_ellipsis{
  overflow:hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.center{
  display: flex;
  justify-content: center;
  align-items: center;
}
.y{
  flex-direction: column;
}
.pane{
  background-color: #ebf0f2 !important;
}
a{
  text-decoration: none;
  color: #000000;
}
img{
  vertical-align: middle;
}
.white{
  background-color: #ffffff;
}
.middle{
  vertical-align: middle;
}
.green{
  color: #27c78a;
}

@media screen and (min-width: 768px) {
  .nav-bar-container,.pane{
    width:768px;
    margin: 0 auto !important;
  }
}
/*header-footer*/
.bar-header{
  background-color:#584f60 !important ;
  height: 50px;
}
.bar-stable .button.button-clear{
  color: #ffffff;
}
.bar .buttons span.back-text{
  display: none;
}
.logo{
  height: 32px;
  position: relative;
  top: 3px;
}
.tab-item .ion-ios-search-strong{
  color: #ffffff;
}


/*搜索框*/
.none{
  display: none;
}


/*footer*/
.foot-tab {
  color: #584f60 !important;
}


/*article.css*/
.article{
  line-height:200%;
  font-size: 16px;
  padding: 0 10px 10px 10px;
}
.article h2{
  font-size: 24px;
}

.article img{
  width: 4.14rem;
  margin: 10px auto;
}
.article h3{
  font-size: 16px;
  margin: 15px 0;
  font-weight: 700;
}
span.tail{
  display: block;
  text-align: center;
}
span.readings{
  color: rgb(185,183,190);
  font-size: 12px;
}

/*chat-detail.css*/
article.userarticle img{
  width: 100%;
}
article.userarticle p>span{
  color: #27c78a;
}
/*comment*/
div.userzan{
  border-top: solid 10px #ebf0f2;
  border-bottom: solid 10px #ebf0f2;
  padding: 10px;
}
div.userzan a{
  display: inline-block;
  /*height: 30px;*/
  position: relative;
}
div.userzan a:nth-child(2){
  z-index: 10;
}
div.userzan a:nth-child(3){
  left: -12px;
  z-index: 9;
}
div.userzan a:nth-child(4){
  left: -24px;
  z-index: 8;
}
div.userzan a:nth-child(5){
  left: -36px;
  z-index: 7;
}
div.userzan a:nth-child(6){
  left: -48px;
  z-index: 6;
}
div.userzan a:nth-child(7){
  left: -60px;
  z-index: 5;
}
div.userzan a img{
  width: 32px;
  height: 32px;
  border: #ffffff solid 1px;
  border-radius: 50%;
  vertical-align:middle;
}
i.keep-icon-more{
  float: right;
}
.userzan i.keep-icon-more:before{
  vertical-align: middle;
  height: 0;
}

section.comment{
  border-bottom: solid 10px #ebf0f2;
}
section.comment li{
  border-top: solid 1px #ebf0f2;
  padding: 10px;
}
section.comment li:last-child{
  /*box-shadow: 0 1px 1px rgba(0,0,0,0.2);*/
  border-bottom: solid 1px rgba(0,0,0,0.1);
  padding-bottom: 20px;
}
section.comment li .text{
  margin-left: 35px;
}
section.comment li p.reply{
  background-color: #f9f9f9;
  color: rgb(155,155,155);
}
h5.seemore{
  text-align: center;
  padding: 15px 0;
}

/*content*/


div.text_box{
  width: 100%;
  height: 200px;
  margin: 20px 0;
  background: no-repeat;
  background-size: cover;
  color: #ffffff;
  font-size: 14px;
  padding: calc((200px - 34px) / 2) 0 0 20px;
}
div.text_box h2{
  color: inherit;
  margin:0 0 25px 10px;
}

.article_content p{
  font-size: 16px;
  line-height: 150%;
}

.user_img{
  display: inline-block;
}

.user_time{
  float: right;
}
p.user_p{
  line-height: 36px;
}

.media{
  width: 100%;
}

p.p_course{
  background-color: #f9f9f9;
  color: rgb(155,155,155);
  font-size: 12px;
  line-height: 250%;
}
p.p_course i{
  font-size: 24px;
}
footer.count{
  font-size: 12px;
  border-top: solid 1px rgb(247,247,247);
  line-height: 300%;
  color: #bbbbbb;
  margin-bottom: 10px;
}
footer.count span{
  display: inline-block;
  width: 49%;
  text-align: center;
}
footer.count b{
  border-left: solid 1px rgb(247,247,247);
  font-size: 24px;
}
footer.count i{
  font-size: 22px;
}

/*discover*/
img{
  /*display: block;*/
}
/*轮播图*/
.banner img{
  width: 100%;
  /*margin-top: 50px;*/
  margin-bottom: 15px;
}
.text_ellipsis{
  overflow:hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.chats{
  width: 100%;
  background-color: #ffffff;
}
.chats .chats_ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.chats .chats_ul li{
  width: 48%;
}
.chats .chats_ul .imgbox{
  width: 1.89rem;
  height: 1.89rem;
  overflow: hidden;
}
.chats .chats_ul .imgbox img{
  width: 100%;
}
.chats .chats_ul figcaption{
  height: 3em;
  margin: 10px 0 5px 0;
}

.keep_icon{
  color: #bbbbbb;
  font-size: 18px;
  line-height: 20px;
}

.keep_icon span{
  font-size: 12px;
  display: inline-block;
  position: relative;
  top: -2px;
  margin-right: 15px;
}
.div_scroll_box{
  margin: 15px 0 15px 0;
  background-color: #ffffff;
  padding: 10px;
}
.div_more{
  display: inline-block;
  background-color: #ebf0f2;
  height: 1.79rem;
  padding-top: calc((1.79rem - 0.71rem) / 2);
  margin-left: 5px;
}
.div_more>div{
  width: 50%;
  text-align: center;
  display: table-cell;
}
.div_more img{
  width: 0.24rem;
  height: 0.35rem;
}
.div_scroll{
  display: inline-block;
  background: no-repeat url("https://staticssl.keepcdn.com/2017/01/17/18/1484649054026_750x340.jpg?imageMogr2/format/webp");
  width: 3rem;
  height: 1.79rem;
  background-size: cover;
  position: relative;
}
.div_scroll::before {
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0,0,0,0.4);
}
.div_scroll span.act{
  color: #ffffff;
  display: inline-block;
  background-color: rgba(0,0,0,0.6);
  padding: 0 3px 0 3px;
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 20;
}
.div_scroll article{
  width: 100%;
  color: #ffffff;
  text-align: center;
  padding: 0 10% 0 10%;
  margin: 0 auto;
  position: absolute;
  top: 10px;
  z-index: 20;
  font-weight: 200;
}
.div_scroll article h4{
  color: #ffffff;
}

.div_heji{
  width: 2.98rem;
  height: 1.45rem;
}
.div_scroll article p.heji{
  display: inline-block;
  border-top: 2px solid rgba(255,255,255,0.15);
  border-bottom: 2px solid rgba(255,255,255,0.15);
  padding: 5px;
  margin-top: calc((1.45rem - 0.44rem) / 2);
}


/*keepers*/
section.keepers{
  margin-top: 15px;
}
section.keepers article{
  height: 168px;
  background-position: center center;
  background-size: cover;
  margin-bottom: 15px;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  position: relative;
}
section.keepers article::before {
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0,0,0,0.4);
}
section.keepers article a{
  z-index: 10;
  color: #ffffff;
}
section.keepers article h2{
  color: inherit;
}
section.keepers article span{
  position: absolute;
  bottom: 10px;
  left: 0;
  display: block;
  z-index: 10;
  width: 100%;
}

/*keeperscontent*/
header.keepers_img{
  display: flex;
  justify-content: center;
  align-items: center;
  background: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 2.31rem;
  margin: 15px 0;
}
header.keepers_img::before {
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0,0,0,0.4);
}
header.keepers_img article{
  width: 100%;
  text-align: center;
  color: #ffffff;
  z-index: 10;
}
header.keepers_img article h2{
  color: #ffffff;
  font-weight: 800;
}
header.keepers_img article p{
  margin-top: 20px;
}


/*more*/
section.more_img{
  background-color: #ffffff;
}
section.more_img a{
  display: block;
  padding: 2px;
  overflow: hidden;
}
section.more_img a>img{
  width: 100%;
  height: 100%;
}
.img_box{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media screen and (max-width:767px){
  .img_box{
    padding-left: 10px;
    padding-right: 10px;
  }
  section.more_img a{
    width: 49%;
    height: 49%;
  }

}
/*大于768px*/
@media screen and (min-width:768px){
  .img_box{
    padding-left: 20px;
    padding-right: 20px;
  }
  section.more_img a{
    width: 32%;
    height: 32%;
  }
}
/*selectedtopic*/

section.topic a{
  display: block;
  width: 100%;
  padding: 20px;
  font-size: 12px;
  margin-bottom: 15px;
}
section.topic a h2{
  font-size: 16px;
  margin: 0 0 10px 0;
}
section.topic a h2 span{
  font-size: 12px;
  background-color: rgb(49,165,110);
  color: #ffffff;
  padding: 3px 3px 1px 3px;
  margin-left: 10px;
}
section.topic a img{
  width: 87.5px;
  height: 87.5px;
  float: left;
  margin-right: 20px;
}
section.topic a span{
  color: rgb(155,155,155);
}
/*tab-course*/

.tab_course label{
  margin-bottom: 20px;
  border: none;
  padding: 20px ;
}
.tab_course label i{
  color: #000000;
  font-size: 20px;
}
section.course{
  text-align: center;
  margin-bottom: 15px;
}
section.course article{
  padding: 60px 20%;
}
section.course h2{
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
}
section.course article p{
  font-size: 12px;
  color: rgb(153,153,153);
}
div.course_box{
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
div.course_box a.background{
  display: block;
  width: 50vw;
  height: 50vw;
  position: relative;
}
div.course_box a.background::before{
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0,0,0,0.4);
}
div.course_box a.background div{
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  color: #ffffff;
  font-size: 12px;
}
div.course_box a.background p{
  font-size: 16px;
  font-weight: bold;
}
div.course_box a.a_act{
  display: block;
  width: 50vw;
  height: 138px;
  display: flex;
  justify-content: space-between;
}
a.a_act div{
  width: 100%;
  text-align: center;
}
a.a_act div img{
  width: 86px;
}

@media screen and (min-width: 768px) {
  div.course_box a.background{
    width: 25vw;
    height: 25vw;
  }
  div.course_box a.a_act{
    width: 20vw;
    height: 126px;
  }
}

/*tab-discover*/

.tab_course label{
  margin-bottom: 20px;
  border: none;
  padding: 20px ;
}
.tab_course label i{
  color: #000000;
  font-size: 20px;
}
section.course{
  text-align: center;
  margin-bottom: 15px;
}
section.course article{
  padding: 60px 20%;
}
section.course h2{
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
}
section.course article p{
  font-size: 12px;
  color: rgb(153,153,153);
}
div.course_box{
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
div.course_box a.background{
  display: block;
  width: 50vw;
  height: 50vw;
  position: relative;
}
div.course_box a.background::before{
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0,0,0,0.4);
}
div.course_box a.background div{
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  color: #ffffff;
  font-size: 12px;
}
div.course_box a.background p{
  font-size: 16px;
  font-weight: bold;
}
div.course_box a.a_act{
  display: block;
  width: 50vw;
  height: 138px;
  display: flex;
  justify-content: space-between;
}
a.a_act div{
  width: 100%;
  text-align: center;
}
a.a_act div img{
  width: 86px;
}

@media screen and (min-width: 768px) {
  div.course_box a.background{
    width: 25vw;
    height: 25vw;
  }
  div.course_box a.a_act{
    width: 20vw;
    height: 126px;
  }
}

/*tab-home*/
.home header{
  position: relative;
  width: 100%;
  padding-bottom:56.25%;
}
.home header::before {
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0,0,0,0.4);
}
.home header div{
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  text-align: center;
}
.home header div img{
  width: 60%;
}
.home header p{
  position: absolute;
  z-index: 10;
  color: #ffffff;
  left: 0.15rem;
  bottom: 0;
}
video{
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
}
.home .section1{
  /*margin-top: 50vw;*/
}
.home article{
  padding: 54px 48px;
  text-align: center;
}
.home article h2{
  font-size: 18px;
  font-weight: bold;
  color: rgb(88,79,96);
  margin-bottom: 30px;
}
.home article p{
  font-size: 13px;
  color: rgb(102,102,102);
  margin-bottom: 30px;
}
.home article button{
  width: 138px;
  height: 42px;
  border-radius: 21px;
  box-shadow: none;
  border: 1px solid #ffffff;
  background-color: rgba(0,0,0,0);
}
.home section>div{
  background-color: rgb(61,55,68);
}
.home section a.background{
  display: block;
  width: 100% ;
  height: 222px;
  position: relative;
  color: #ffffff;
  padding: 20px;
}
.home section a.background>span{
  position: absolute;
  bottom: 10px;
}
.home section a.background h2{
  font-size: 18px;
  font-weight: bold;
  color: inherit;
}
.home article.btn_art{
  padding: 74px 40px 54px 40px;
}
.home article.btn_art h2,
.home article.btn_art button a,
section div.bg h2,
section div.bg a
{
  color: #ffffff;
}
.home article.btn_art p,
section div.bg p{
  color: rgb(153,153,153);
}


section div.bg{
  height: 763px;
  /*width: 100%;*/
  position: relative;
}
section div.bg img{
  position: absolute;
  bottom: 0;
  left:calc((100vw  - 308px) / 2);
}
section div.bg button{
  background-color: rgb(88,79,96);
  border: none;
}
section.now h2{
  color: rgb(88,79,96);
  font-size: 18px;
  font-weight: 100;
}
section.now p{
  color: rgb(153,153,153);
  font-size: 12px;
}
/*图表*/
.chart{
  position: relative;
}
section.chart button{
  background-color: #27c78a;
  border: none;
}
.chart div.chart_box{
  width: 100%;
  position: absolute;
  top:0;
  z-index: 100;
  background-color: rgba(0,0,0,0);
}
.div_chart{
  width: 360px;
  margin: 10px auto;
  padding: 20px;
  background-color: rgb(94, 85, 102);
  border-radius: 5px;
  font-size: 12px;
}
div.chart2{
  background-color: rgba(0,0,0,0);
  position: relative;
  height: 321px;
}
.div_chart>span{
  color: #ffffff;
}
.div_chart>span i{
  margin-right: 10px;
}
.div_chart p{
  margin-top: 10px;
  color: #827a89;
}
.div_chart p span{
  margin-right: 20px;
}
.div_chart span.right{
  float: right;
  margin: 0;
  color: #827a89;
}

.div_chart li{
  width: 100%;
  height: 22px;
  background-color: rgba(36,199,137,0.3);
  border-radius: 11px;
  margin-top: 10px;
}
.div_chart li div{
  width: 0;
  height: 100%;
  background-color: rgb(36,199,137);
  border-radius: 11px;
  margin-top: 10px;
}

.runchart,.runcover,.runcover img{
  width:100%;
}
.runchart{
  width: 0;
  overflow: hidden;
}

.runchart img{
  width: 360px;
}
.runchart,.runcover{
  position: absolute;
  top:0;
  left:0;
  z-index: -100;
}

@media screen and (max-width:360px) {
  .div_chart,.chart2{
    width: 100%;
  }
  .runchart img{
    width: 100vw;
  }
}
.user_list{
  height: 300px;
  overflow: hidden;
  position: relative;
  margin-bottom: 100px;
}
.user_list .user{
  margin-bottom : 20px;
  width: 100%;
  position: absolute;
}
.user_list .user p{
  margin: 0;
}


/*home首页图表动画*/
.animation{
  animation: chart_first 5s;
  /*animation-delay:1s;*/
  animation-fill-mode:forwards;
}
.animation2{
  animation: chart_sec 5s !important;
  animation-fill-mode:forwards !important;
}
@keyframes chart_first
{
  from {width: 0;}
  to {width: 100%;}
}
@keyframes chart_sec
{
  from {width: 0;}
  to {width: 33.1%;}
}


/*tab-me*/
.me section{
  margin: 20px 0;
  background-color: #ffffff;
}
.me section figure{
  height: 100%;
  text-align: center;
  padding: 25px 0;
  font-size: 16px;
  color: #333333;
}
.me section div.imgbox{
  width: 95px;
  height: 95px;
  border-radius: 50%;
  position: relative;
  margin-bottom: 25px;
}
.me section div.imgbox img{
  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.me p span{
  text-align: center;
  display: inline-block;
  width: 49vw;
  color: #999999;
  font-size: 12px;
}
.me p span num {
  color: #584f60;
  font-size: 20px;
  font-weight: bold;
}
.me ul li{
  line-height: 68px;
  padding: 0 20px;
  color: #584f60;
  border: 1px solid rgb(247,247,247);
}
.me ul li span{
  float: right;
}
.me button.logout{
  width: 100%;
  height: 30px;
  border: none;
  margin-top: 20px;
  background-color: #ff3b30;
  color: rgba(255,255,255,0.6);
}

/*登录注册样式*/
.forms{
  background-color: rgb(61,55,68);
  color: rgba(255,255,255,0.6);
}
.forms h2{
  color: white;
  font-size: 25px;
  font-weight: 300;
  margin: 10px 0 0 0;
}
.list-inset .item:last-child{
  background-color: rgb(61,55,68);
}
.forms input{
  color: rgba(255,255,255,0.6);
}
.forms button.button{
  background-color: #27c78a;
  display: block;
  width:100%;
  color: rgba(255,255,255,0.6);
}

.forms a.a_reg{
  color: rgba(255,255,255,0.6);
  margin-left: 10px;
}


/*user*/

.user img{
  width: 36px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}
